package br.com.canvasForAll.model.services.interfaces;

import java.io.IOException;
import java.util.Collection;

import javax.ejb.Local;
import javax.ws.rs.core.MultivaluedMap;

import br.com.canvasForAll.model.entity.Arquivo;
import br.com.canvasForAll.model.entity.Postit;

@Local
public interface ArquivoService {

	public Collection<Arquivo> obterArquivoPostit(Postit postit) throws Exception;
	
	public String getFileName(MultivaluedMap<String, String> header) throws Exception;
	
	public void writeFile(byte[] content, String filename) throws IOException;
	
	public Arquivo salvarArquivo(Arquivo a) throws Exception;
	
}
